package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 零售订单明细
 * </p>
 *
 * @author 
 * @since 2019-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderCustomerFeature对象", description="零售订单明细")
public class OrderCustomerFeatureVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单明细ID")
    private String orderCustomerFeatureId;

    @ApiModelProperty(value = "零售单编号")
    private String orderCustomerNo;

    @ApiModelProperty(value = "项目代码")
    private String featureCode;

    @ApiModelProperty(value = "项目名称")
    private String featureName;

    @ApiModelProperty(value = "价格")
    private BigDecimal amount;

    @ApiModelProperty(value = "结算方式")
    private String balanceType;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "版本")
    private Integer version;

    @ApiModelProperty(value = "是否发送")
    private Integer isSend;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "类型")
    private String featureType;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "app订单流水号")
    private String orderNo;
}
